package edu.bit.water.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import edu.bit.water.dto.DateUtils;

import java.util.Date;

public class Companys {
    private int id;                    //序号
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date create_at;        //统计时间
    private String createdAt;
    private String class1;//门类
    private String class2;//所属行业
    private String companyName;        //企业名称
    private String category;          //所属行业
    private String companyType;    //企业类型
    private String reporter;            //评估人员
    private String note;       //备注
    private String linkMan;//联系人
    private String linkMethod;//联系方式

    public void setLinkMan(String linkMan) {this.linkMan = linkMan;}
    public String getLinkMan() {return this.linkMan;}

    public void setLinkMethod(String linkMethod) {this.linkMethod = linkMethod;}
    public String getLinkMethod() {return this.linkMethod;}

    public void changeTime() {
        this.createdAt = DateUtils.parseTimeZone(this.createdAt);
    }

    public String getClass1() {return this.class1;}
    public void setClass1(String class1) {this.class1 = class1;}

    public String getClass2() {return this.class2;}
    public void setClass2(String class2) {this.class2 = class2;}

    public String getCreatedAt() {return this.createdAt;}
    public void setCreatedAt(String time) {this.createdAt = time;}

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Date getCreate_at() {
        return create_at;
    }

    public void setCreate_at(Date create_at) {
        this.create_at = create_at;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getCompanyType() {
        return companyType;
    }

    public void setCompanyType(String companyType) {
        this.companyType = companyType;
    }

    public String getReporter() {
        return reporter;
    }

    public void setReporter(String reporter) {
        this.reporter = reporter;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }
}